﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity.Car_Rental;
using Entity;
namespace Data.Car_Rental
{
    /// <summary>
    /// 用户相关接口规范
    /// </summary>
    public interface IUserRepository : Data.IBackgroundRepository<UserBases>
    {
        /// <summary>
        /// 注册流程
        /// </summary>
        /// <param name="entity"></param>
        VMessage RegisterUser(UserBases entity);

        void UpdateUser(UserBases entity);
        /// <summary>
        /// 登陆
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        VMessage Login(UserBases entity);

        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        VMessage ChangePassword(UserBases entity);
     }
}
